package com.briup.estore.service;

import java.math.BigInteger;
import java.util.List;

import org.springframework.core.annotation.Order;

import com.briup.estore.bean.Address;
import com.briup.estore.bean.OrderForm;
import com.briup.estore.bean.OrderLine;

public interface IOrderService {

	public void insertOrder(Order order);

	void insertOrderList(List<BigInteger> shopCarItemIds, Address address, BigInteger customer_id);

	List<OrderForm> findOrderFormsByCustomerId(BigInteger customer_id);

	List<OrderLine> findOrderLinesByOrderId(BigInteger order_id);

	void deleteOrderById(BigInteger id);
}
